export const TreeGridSchema = {
    id: 'treeGrid',
    type: 'TreeGrid',
    controlSource: 'Farris',
    appearance: null,
    size: null,
    dataSource: '',
    fields: [],
    fixedHeader: true,
    fit: true,
    idField: 'id',
    udtField: '',
    fieldEditable: false,
    editable: false,
    multiSelect: false,
    expendAll: null,
    expandLevel: -1,
    onSelectionChange: null,
    disable: false,
    expandNode: null,
    styler: null,
    nowrap: true,
    virtualized: false,
    showBorder: false,
    showHeader: true,
    showCheckbox: false,
    showAllCheckbox: false,
    checkOnSelect: false,
    selectOnCheck: false,
    cascadeCheck: true,
    cascadeDown: true,
    cascadeUp: true,
    keepSelect: true,
    onlySelectSelf: true,
    striped: true,
    showIcon: false,
    useIconFromData: false,
    leafIcon: null,
    expandIcon: null,
    collapseIcon: null,
    headerWrap: false,
    fitColumns: true,
    autoWidth: false,
    visible: true,
    resizableColumns: true,
    checkAll: null,
    unCheckAll: null,
    nodeChecked: null,
    nodeUnChecked: null,
    showGotoInput: false,
    enableHeaderGroup: false,
    headerGroup: null,
    paginationForChildren: false,
    showTotalForChildren: false,
    beforeClickNode: null,
    nodeUnSelected: null,
    beforeCheckAll: null,
    beforeUnCheckAll: null,
    pageChange: null,
    pageSizeChanged: null,
    childsPageChanged: null

};

/** 单列元数据 */
export const TreeGridFieldSchema = {
    id: 'col',
    type: 'TreeGridField',
    controlSource: 'Farris',
    caption: '',
    binding: null,
    appearance: null,
    size: null,
    dataField: '',
    displayTemplate: null,
    captionTemplate: null,
    editor: null,
    draggable: false,
    frozen: false,
    sortable: false,
    sortOrder: null,
    resizeable: true,
    format: '',
    localization: false,
    colTemplate: '',
    visible: true,
    textAlign: 'left',
    hAlign: 'left',
    vAlign: 'middle',
    formatter: { type: 'none' },
    styler: null
};
